package util

import "os/exec"

//RemoveDocker remove docker container
func RemoveDockerContainer(containerName string) error {
	command := exec.Command("docker", "rm", "-f", "-v", containerName)
	return command.Run()
}

//RemoveALlDockerContainer remove all docker container
func RemoveALlDockerContainer() error {
	command := exec.Command("docker", "container", "prune", "-f")
	return command.Run()
}
